package com.icms.system.model;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

@Entity @Table(name="icms_user")
public class User implements Serializable {

	private static final long serialVersionUID = 1L;

	private String id ;
	
	private String name ;
	
	private String addr ;
	
	private Date datetime ;

	@Id
	@GenericGenerator(name = "_uuid", strategy = "uuid")
	@GeneratedValue(generator = "_uuid")
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAddr() {
		return addr;
	}

	public void setAddr(String addr) {
		this.addr = addr;
	}

	public Date getDatetime() {
		return datetime;
	}

	public void setDatetime(Date datetime) {
		this.datetime = datetime;
	}
	
}
